//
//  AWRadioModel.m
//  EPA
//
//  Created by 请叫我灬阿文 on 16/4/21.
//  Copyright © 2016年 请叫我阿文. All rights reserved.
//

#import "AWRadioModel.h"


@implementation AWUserInfo
-(void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    //[self setValuesForKeysWithDictionary:value];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

@end


@implementation AWRadioModel
-(void)setValue:(id)value forKey:(NSString *)key{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"userinfo"]) {
        self.userInfoModel =[AWUserInfo new];
        [self.userInfoModel setValuesForKeysWithDictionary:value];
    }
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    
}
@end
